package cn.itsource.org.mapper;

import cn.itsource.org.domain.Employee;
import cn.itsource.basic.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Tom
 * @since 2022-08-30
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    void delEmployeeRoleByEmpId(Long id);

    void addEmployeeRole(Employee employee);

    Employee loadByLogininfoId(Long id);

    Employee loadByShopId(Long id);

    List<Employee> findByShopId(Long shopId);
}
